In order to meet the requirements of safe storage and effective distribution of content encryption key in digital rights protection, a new digital rights protection scheme based on secret sharing in blockchain environment was proposed, including 4 protocols: system initialization, content encryption, license authorization and content decryption. The Pedersen’s verifiable secret sharing scheme and Attribute-Based Encryption (ABE) algorithm were used to protect and distribute the content encryption key. The content providers were freed from the task of managing content encryption keys, which ensured the security and flexibility of key management. In addition, the digital rights protection scheme based on blockchain has the characteristics of information openness and transparency, and is tamper-resistant. Security analysis show that the proposed scheme is safe and feasible in the blockchain environment; simulation results show that the proposed scheme can achieve the rights protection of digital content with low cost.